﻿<%@ Page Title="" Language="C#" MasterPageFile="~/InnerInfo/InnerMaster.Master" AutoEventWireup="true" CodeBehind="InnerInfoRegist.aspx.cs" Inherits="QuaManSys.InnerInfo.InnerInfoRegist" %>

<%--<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>--%>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link rel="Stylesheet" href="../Css/QuaInfoPro.css" type="text/css" />
    <script language="javascript" type="text/javascript" src="../Calendar/WdatePicker.js"></script>
    <script type="text/javascript">
        function submitQuaInfo() {
            return confirm("提交后您的信息将不能修改，确认提交？");
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphInner" runat="server">
    <div class="Content">
     

<div style="background-color:Aqua; text-align:center;">
    <asp:Button ID="btnSave" runat="server" Text="保存" />&nbsp; &nbsp;

    <asp:Button ID="btnInfoSub" runat="server" Text="提交" OnClick="btnInfoSub_Click" OnClientClick="return submitQuaInfo();"
       />&nbsp; &nbsp;

    <asp:Button ID="Button1" runat="server" Text="上传附件" />&nbsp; &nbsp;
</div> 

<div>
<div style="text-align:center;">
<label id="lblQuaInfo" >质量信息登记表</label>
</div>
<fieldset style="width:100%">

<div>
<label>编号：</label><asp:Label ID="lblNo"  runat="server" Text="[显示编号]"></asp:Label>
<asp:Label ID="lblState"  runat="server" Text="[显示状态]"></asp:Label>
</div>

<div>
  
    <div>
        <label for="lblInfoCla" class="twenty" >信息来源</label>
        <asp:DropDownList ID="DDLInfoCla" runat="server" class="forty-eight" >
            <asp:ListItem>试车服务通讯会</asp:ListItem>
            <asp:ListItem>公司质量例会</asp:ListItem>
            <asp:ListItem>内审</asp:ListItem>
            <asp:ListItem>一级质量监督</asp:ListItem>
            <asp:ListItem>产品质量报告</asp:ListItem>
        </asp:DropDownList>
        <label for="lblImpLev" class="sixteen">重要级别</label>
        <asp:DropDownList ID="DDLImpLev" runat="server" class="sixteen">
            <asp:ListItem>高</asp:ListItem>
            <asp:ListItem>中</asp:ListItem>
            <asp:ListItem>低</asp:ListItem>
        </asp:DropDownList>
    </div>
    <div style="text-align:left;">
        <label for="lblMacTyp" class="twenty">机型</label><asp:Label ID="txtMacTyp" runat="server" class="sixteen" ></asp:Label>
        <label for="lblMacNo" class="sixteen">机号</label><asp:Label ID="txtMacNo" runat="server" class="sixteen" ></asp:Label>
        <label for="lblProNo" class="sixteen">工程编号</label>
        <asp:DropDownList ID="ddlProNo" runat="server" class="sixteen"  OnSelectedIndexChanged="ddlProNo_SelectedIndexChanged"            
           AutoPostBack="True">

            <%--<asp:ListItem Selected="True" Text="请选择"></asp:ListItem>--%>
        </asp:DropDownList>
    </div>
    <div>
        <label for="lblComponent" class="twenty">零部件</label><asp:TextBox ID="txtComponent" runat="server" class="forty-eight"></asp:TextBox>
        <label for="lblFaiTyp" class="sixteen">故障类型</label><asp:TextBox ID="txtFaiTyp" runat="server" class="sixteen"></asp:TextBox>
    </div>
    <div>
        <label for="lblManufac" class="twenty">生产厂家</label><asp:TextBox ID="txtManufac" runat="server" class="eighty"></asp:TextBox>
    </div>
    <div>
        <label for="lblPjCls" class="twenty">项目分类</label><asp:TextBox ID="txtPjCls" runat="server" class="thirty"></asp:TextBox>
        <label for="lblPjNam" class="twenty">名称</label><asp:TextBox ID="txtPjNam" runat="server" class="thirty"></asp:TextBox>
    </div>
    <div>
        <label for="lblDepRes" class="twenty">责任部门</label>
        <asp:DropDownList ID="DDLDepRes" runat="server" class="thirty" DataSourceId="srcDepartment" DataTextField="department">
        </asp:DropDownList>
        <label for="lblProDL" class="twenty">处理时限</label>
        <asp:TextBox ID="txtProDL" runat="server" cssclass="Wdate" onClick="WdatePicker()"></asp:TextBox>
        
       <%-- <asp:CalendarExtender ID="CalendarExtender1" TargetControlID="txtProDL" runat="server">
        </asp:CalendarExtender>--%>
    </div>
    <div>
        <label for="lblDepFoc" class="twenty" >关注部门</label>
        <asp:DropDownList ID="DDLDepFoc"  runat="server" class="eighty" DataSourceID="srcDepartment" DataTextField="department">
        </asp:DropDownList>
    </div>
    <div>
        <label for="lblCustomer" class="twenty">顾客方联系人</label><asp:TextBox ID="txtCustomer" runat="server" class="thirty"></asp:TextBox>
        <label for="lblCusTel" class="twenty">联系电话</label><asp:TextBox ID="txtCusTel" runat="server" class="thirty"></asp:TextBox>
    </div>
    <div>
        <label for="lblSpeReq" class="twenty" >特别要求</label>
        <asp:TextBox id="txtSpeReq" class="eighty" runat="server" TextMode="MultiLine"></asp:TextBox>
    </div>
    <div>
        <label for="lblInfoDsc" class="twenty">描述</label>
        <asp:TextBox id="txtInfoDsc" class="eighty" runat="server" TextMode="MultiLine"></asp:TextBox>
    </div>
    <div>
        <label for="lblInfoCls" class="twenty">信息分类</label>
        <asp:CheckBox ID="CheckBox1" runat="server" Text="已处理（需后继关注）" />
        <asp:CheckBox ID="CheckBox2" runat="server" Text="未处理（需跟踪解决）" /> 
    </div>
    <div>
        <label for="lblReqAdv" class="twenty">处理要求和意见</label>
        <asp:TextBox id="txtReqAdv" class="eighty" runat="server" TextMode="MultiLine"></asp:TextBox>
    </div>
    <div>
        <label for="lblInfoWrt" class="twenty">登记人</label><asp:Label ID="txtInfoWrt" runat="server" class="sixteen"></asp:Label>
        <label for="lblWrtDep" class="sixteen">部门</label><asp:Label ID="txtInfoDep" runat="server" class="sixteen"></asp:Label>
        <label for="lblWrtDat" class="sixteen">登记日期</label><asp:Label ID="txtWrtDat" runat="server" class="sixteen"></asp:Label>
    </div>
    <div>
        <label for="lblReqRsl" class="twenty">信息处理结果</label>
        <asp:TextBox id="txtReqRsl" class="eighty" runat="server" TextMode="MultiLine"></asp:TextBox>
    </div>
    <div>
        <label for="lblProCmm" class="twenty">质量信息处理评价</label>
        <asp:TextBox id="txtProCmm" class="eighty" runat="server" TextMode="MultiLine"></asp:TextBox>
    </div>
</div>
</fieldset>
   <%-- <div>
        <table>
            <tr>
                <td colspan="4" class="tablehead">处理信息</td>
            </tr>
            <tr>
                <td>处理部门</td><td>处理人</td><td class="Process">处理意见</td><td>处理时间</td>
            </tr>
            <tr>
                <td>&nbsp</td><td>&nbsp</td><td class="Process">&nbsp</td><td>&nbsp</td>
            </tr>
            <tr>
                <td>&nbsp</td><td>&nbsp</td><td class="Process">&nbsp</td><td>&nbsp</td>
            </tr>
            <tr>
                <td>&nbsp</td><td>&nbsp</td><td class="Process">&nbsp</td><td>&nbsp</td>
            </tr>
        </table>
    </div>--%>

</div>
</div>
    <asp:SqlDataSource ID="srcDepartment" 



    ConnectionString="<%$ ConnectionStrings:QuaManSysConnStr%>"

     SelectCommand="SELECT department FROM Tab_Department"

     runat="server">
     </asp:SqlDataSource>
     <asp:SqlDataSource ID="srcProjectNo" 
 ConnectionString="<%$ ConnectionStrings:QuaManSysConnStr%>"
     SelectCommand="SELECT projectNo FROM Tab_ProjectNo"
     runat="server"></asp:SqlDataSource>

</asp:Content>
